package com.cmwa.solution.business.product.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cmwa.solution.annotation.MybatisDao;
import com.cmwa.solution.base.entity.SearchParam;

import com.cmwa.solution.business.product.entity.SubPrdLineVo;

/**
 * 招商财富产品表数据访问层
 * 
 * @author ex-zhengqq
 * @date 2019-01-22 15:33:47
 */
@MybatisDao
public interface SubPrdLineDao {

	public void insertPrdInfo(SubPrdLineVo subPrdLineVo);
	
	public void physicDeletePrdInfoById(@Param("id") String id);
	
	
	public void updatePrdInfoById(SubPrdLineVo prdInfo);
	
	public SubPrdLineVo getPrdInfoByCode(@Param("subPrdCode") String subPrdCode);
	
	public List<SubPrdLineVo> prdInfoListPage(SearchParam sp);
	
	public List<SubPrdLineVo> queryPrdInfoList(@Param("prdsname") String prdsname);
	
	public List<SubPrdLineVo> prdInfoList(SearchParam sp);
	
	public List<SubPrdLineVo> getSellWellPrd(@Param("size") int size);

	public void logicDelPrdInfoByCode(@Param("subPrdCode")  String subPrdCode);

	public void updatePrdInfo(SubPrdLineVo prdInfoVo);

	/*
	 * 获取数量
	 */
	public int getCount(@Param("subPrdCode")String subPrdCode, @Param("subFundSname")String subFundSname);

	
	public List<SubPrdLineVo> prdLineInfo(SearchParam sp);
}
